﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ext.Net;
namespace Enterprise.Web.Controls
{
    public partial class XResourceManager: ResourceManager
    {
        public XResourceManager()
        {
            this.Listeners.DocumentReady.Handler = "Ext.net.DirectEvent.timeout = 360000;var nomask;";
            this.Listeners.AjaxRequestComplete.Handler = "Ext.net.Mask.hide();";
            this.Listeners.AjaxRequestException.Handler = "Ext.net.Mask.hide();";
            this.Listeners.BeforeAjaxRequest.Handler = "if(!nomask){Ext.net.Mask.show();}else{nomask=null;}";
            this.Locale = "vi";
        }
    }
}
